package top.qiuzhe;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import top.qiuzhe.entity.FilePage;
import top.qiuzhe.utils.LogUtils;

/**
 *  @program: DocsManage
 *  @description:
 *  @author: 秋哲
 *  @create: 2022-03-23 10:38
 **/
@ComponentScan("top.qiuzhe.entity")
public class Application {

    public static void main(String[] args) {
        ApplicationContext context = new AnnotationConfigApplicationContext(Application.class);
        FilePage filePage = context.getBean("filePage", FilePage.class);
        LogUtils.logInfo(filePage.toString());
    }
}